package com.ruoyi.system.domain;

import com.ruoyi.system.domain.vo.TourSmallCity;
import com.ruoyi.system.domain.vo.TourSmallPackage;
import com.ruoyi.system.domain.vo.TourSmallWorker;
import lombok.Data;

import java.lang.reflect.Member;
import java.util.Date;
import java.util.List;


/**
 * 对应数据库表 Tour_Group
 * 旅游团队(团队id，团队名，负责人，出发时间，出发地点，目的城市，套餐，人员数量)
 */
@Data
public class TourGroup {

    private int id;
    private String name;
    private TourSmallWorker worker;
    private Date start_date;
    private String start_place;
    private TourPackage tourPackage;
    private TourSmallCity city;
    private TourSmallPackage route_package;
    private int member_num;
    private List<TourGroupMember> members;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStart_date() {
        return start_date;
    }

    public void setStart_date(Date start_date) {
        this.start_date = start_date;
    }

    public String getStart_place() {
        return start_place;
    }

    public void setStart_place(String start_place) {
        this.start_place = start_place;
    }

    public TourSmallCity getCity() {
        return city;
    }

    public void setCity(TourSmallCity city) {
        this.city = city;
    }

    public TourSmallWorker getWorker() {
        return worker;
    }

    public void setWorker(TourSmallWorker worker) {
        this.worker = worker;
    }

    public TourSmallPackage getRoute_package() {
        return route_package;
    }

    public void setRoute_package(TourSmallPackage route_package) {
        this.route_package = route_package;
    }

    public int getMember_num() {
        return member_num;
    }

    public void setMember_num(int member_num) {
        this.member_num = member_num;
    }

    public List<TourGroupMember> getMembers() {
        return members;
    }

    public void setMembers(List<TourGroupMember> members) {
        this.members = members;
    }
}
